import 'package:get/get.dart';

class XinDongCallViewController extends GetxController {
  static XinDongCallViewController get to => Get.find();

  // 控制栏显示隐藏
  double viewControlOpacity = 1.0;

  // 重置
  void reset() {
    viewControlOpacity = 1.0;
  }

  // 改变控制栏显示隐藏
  void changeViewControlOpacity() {
    if (viewControlOpacity == 1.0) {
      viewControlOpacity = 0.0;
    } else {
      viewControlOpacity = 1.0;
    }
    update();
  }
}
